From: Daniel Boles Date: Sun, 27 Aug 2017 14:32:44 +0000 (+0100) Subject: PlacesSidebar: Avoid warning about unused variable X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~310 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=d1d8658898b815ebef1631b05d07d255356c4602;p=gtk%2B3.0.git PlacesSidebar: Avoid warning about unused variable end_icon is only used if HAVE_CLOUDPROVIDERS is defined, so only declare it under the same condition. https://bugzilla.gnome.org/show_bug.cgi?id=786123 --- diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index d684f6719a..014c2781af 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -992,12 +992,12 @@ update_places (GtkPlacesSidebar *sidebar) GtkListBoxRow *selected; gchar *home_uri; GIcon *start_icon; - GIcon *end_icon; GFile *root; gchar *tooltip; GList *network_mounts, *network_volumes; GIcon *new_bookmark_icon; #ifdef HAVE_CLOUDPROVIDERS + GIcon *end_icon; GList *cloud_provider_proxies; guint provider_status; #endif